home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
maximus
/
dialback.zip
/
DIALBACK.DOC
next >
Wrap
Text File
|
1994-05-21
|
4KB
|
138 lines
Dialback.
Dialback is an external util which allows Maximus Sysops to be called
back from their BBS.
So if you have running a maximus BBS at your working place and don't
want to pay the phonebill for your maintenace at home dialback is
ideal for this purpose.
INSTALLATION
run dialback without any commandlineparamters to get an overview what
commandlineparms you'll need.
/C comportname this is the Comport where 1=COM1 and 2=COM2 and so on.
This option should only be set by Maximus itself.
/B Baudrate this is the Baudrate if you use a locked Baudrate then
use the %W token from Maximus.
/I Dialprefix this is the Dialprefix which will be copied to the
command 'ATD' so if you type /I T then dialback will send 'ATDT' to
the Modem when it dials out.
You can also expand it to some other dialingcommands like /I T,!, on
an USR Modem this will also Drop DTR raise DTR and then DIAL.
/T Tells Dialback how often it should trie to get an Connect default
is 1 time, this comamnd is very usefull if you use a fixed
dialbackumber otherwise dialback will ask you online how it should
try.
/$ Tasknumber this is the Tasknumber and it's only used to read the
proper lastuser.bbs to give you some information in a logfile.
This token is only used Maximus intern with the /$ %k token.
/* delaytime this ist the Time the Modem waits for a valid Connect
The defuaulttime is 60secs but if you want to be called back at long
distance it's very usefull to increase the delaytime to your needs.
/D
You can per default define a callbacknummer with the /D <number>
option. This is only for security reasons if you don't use the /D
switch then Dialback will ask you what number it should dial.
SOME SAMPLES
In my menus0.ctl i have here a so called sysopmenu which is only
reachable at level sysop
Menu SYSOP0
Title SYSOP
MenuHeader None
MenuFile c:\max\menus\sysop0
User_Editor Sysop "User Editor"
Xtern_Erlvl 43_f:\tp7\exe\dialback.exe_/B_%W_/C_%P_/T_2_/I_T,!,_/$_%k Sysop "Dialback"
UsrRemote Xtern_Run Command.Com_>com%P_<com%P Sysop "OS Shell"
Display_Menu Main%Y Sysop "Main menu"
NoDsp Display_File Misc\cls Twit "|"
End Menu
As you can see i use an Xtern_erlvl 43 to exit Maximus and call
Dialback.
in my spawnbbs.bat i have therefore
IF ERRORLEVEL 43 goto dialback
:dialback
if %TASK% == 05 goto end
if %TASK% == 04 goto end
CALL ERRORL%TASK%.BAT
if exist \max\bbsbatch.bat copy \max\bbsbatch.bat \MAX\BINK%TASK%
cd\MAX\BINK%TASK%
if errorlevel 2 goto retbbs
if errorlevel 1 del \max\active%TASK%.bbs
if errorlevel 1 start%TASK%.bat
if errorlevel 0 del \max\active%TASK%.bbs
if errorlevel 0 bbsbatch.bat
:end
if %TASK% == 01 start%TASK%.bat
if %TASK% == 02 start%TASK%.bat
if %TASK% == 03 start%TASK%.bat
The %TASK% is only an environment variable created like
SET TASK=02
WHAT IT REALLY DOES
Dialback creates a file with the Name BBSBATCH.BAT Binkley Users will
notice this name and if all works correct
"Dialback calls Back"
"Dialback got a connect"
"Errorlevel 0"
your spawnbbs.bat file calls the bbsbatch.bat which in return calls
again SPAWNBBS.BAT with the proper parameters.
And Maximus starts again.
The contents of the BBSBATCH.BAT file are
SPAWNBBS 2400 2400 1 456 /None
The Spawnbbs is hardcoded so you must have a spawnbbs.bat file or you
must create a dummy
SPAWNBBS.BAT and then call in this file your BBS.BAT file with
BBS %1 %2 %3 %4 %5 %6 %7
FEATURES:
Dialback supports Comports from COM1 to COM8 and it also works on
ISDN Lines which uses Fossil INT 0x14 functions.
Dialback doesn't work without any Fossildriver.
Dialback only supports modems which are Hayes compatible that means
the modems must support the 'AT' command set.
BUGS:
As far as i know there are no bugs
WARRANTY:
I give you no warranty that it will work on your setup, but it works
here on several BBS's without any troubles.
IDEAS,SUGGESTIONS:
If you have any idea for future release then let me know,
if you have any troubles with modems then i am also interested in
them.
I can be reached at fidonet 2:310/3, 2:310/2
Vienna 21-05-94
Schlagnitweit Werner